package hcn.protocol.brandnew.feiyong.shoufei;

import lombok.Data;
import javax.xml.bind.annotation.*;
import java.util.List;
import hcn.protocol.brandnew.BaseRequest;


/**
 * 门诊预结算信息查询-响应消息(成功) - ODS_04010001_SUC
 *
 * @author enjoyLife
 */
@Data
@XmlRootElement(name = "Data")
@XmlAccessorType(XmlAccessType.FIELD)
public class GetPrecalculatedFeeResponse {

    /**
     * 结算明细说明
     */
    @XmlElement(name = "ExtraFeeDesc")
    private String extraFeeDesc;
    /**
     * 预结算标识
     */
    @XmlElement(name = "PaymentBudgetNumber")
    private String paymentBudgetNumber;
    /**
     * 现金金额
     */
    @XmlElement(name = "PayAmount")
    private String payAmount;
    /**
     * 医保报销总额
     */
    @XmlElement(name = "MedicalExpensesCost")
    private String medicalExpensesCost;
    /**
     * 总计金额
     */
    @XmlElement(name = "TotalCost")
    private String totalCost;
    /**
     * 发票号码
     */
    @XmlElement(name = "InvoiceCode")
    private String invoiceCode;

    /**
     * 发票号码
     */
    @XmlElement(name = "DeductionAmount")
    private String deductionAmount;


    /**
     * 医保支付方式集合
     */
    @XmlElementWrapper(name = "MedicalInsuranceCosts")
    @XmlElement(name = "MedicalInsuranceCost")
    private List<MedicalInsuranceCost> medicalInsuranceCosts;

    @Data
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class MedicalInsuranceCost {

        /**
         * 医保支付方式
         */
        @XmlElement(name = "MedicalInsuranceCostTypeCode")
        private Byte medicalInsuranceCostTypeCode;
        /**
         * 医保支付金额
         */
        @XmlElement(name = "MedicalInsuranceCost")
        private String medicalInsuranceCost;
    }

}
